package com.travel.ticket.feign;

import com.travel.common.to.SkuHasStockVo;
import com.travel.common.to.StockSkuTo;
import com.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("travel-stock")
public interface StockFeignService {

    @PostMapping("/stock/stocksku/saveSkuStock")
    R saveSkuStock(@RequestBody StockSkuTo stockSkuTo);

}
